﻿<!-- Copyright Richard Fencel Software (c) 2014-->

<UserControl x:Class="CodeRayTestSimpleListBoxWpfApp.Views.EditorView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <StackPanel Grid.Row="1" Grid.Column="0">
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" Margin="10">
            <TextBlock Text="Number of Employees: "></TextBlock>
            <TextBlock Text="{Binding NumberOfEmployees, NotifyOnTargetUpdated=True, NotifyOnSourceUpdated=True}"></TextBlock>
        </StackPanel>
        <Button Content="Add One Employee" Command="{Binding AoeCommand}" Width="150" Margin="0,0,0,10"></Button>
        <Button Content="Remove One Employee" Command="{Binding RoeCommand}"  Width="150" Margin="0,0,0,10"></Button>
    </StackPanel>
</UserControl>
